//
//  LEAlertView+LE.h
//  CreditAddressBook
//
//  Created by LE on 15/12/14.
//  Copyright © 2015年 Lee. All rights reserved.
//

#import "LEAlertView.h"

typedef void(^ClickAtIndexBlock)(NSInteger index);

@interface LEAlertView (LE)
/**
 *
 *
 *  @param titles
 *  @param iconNames
 *  @param clickAtIndex
 */
+ (void)showAlertViewWithTitles:(NSArray *)titles iconNames:(NSArray *)iconNames clickAtIndex:(ClickAtIndexBlock)clickAtIndex;
/**
 *
 *
 *  @param button
 *  @param cancelButton
 *  @param customView
 *  @param view
 *  @param clickAtIndex
 */
+ (void)showAlertViewWithButton:(NSString *)button cancelButton:(NSString *)cancelButton customView:(UIView *)customView showInView:(UIView *)view clickAtIndex:(ClickAtIndexBlock)clickAtIndex;
/**
 *  CustomIOSAlertView
 *
 *  @param button
 *  @param cancelButton
 *  @param customView
 *  @param clickAtIndex
 */
+ (void)showAlertCustomViewWithButton:(NSString *)button cancelButton:(NSString *)cancelButton customView:(UIView *)customView clickAtIndex:(ClickAtIndexBlock)clickAtIndex;
/**
 *  展示自定义dialogView
 */
+ (instancetype)showCustomDialogView:(UIView *)dialogView showInView:(UIView *)view;
@end
